package com.example.mq.common;

import com.example.mq.mqserver.core.ExchangeType;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * 这个类表示调用 exchangeDeclare 所需要的参数
 */
@Data
public class ExchangeDeclareArguments extends BasicArguments implements Serializable {
    private String exchangeName;
    private ExchangeType exchangeType;
    private boolean durable;
    private boolean autoDelete;
    private Map<String, Object> arguments;
}
